﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_role.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Staff.add_role" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
   <%
       int id = int.Parse(Request.QueryString["id"]);
       string name = Request.QueryString["name"];
       var get_role = new TblManagerRoleController().FetchAll().Where(x=>x.RoleId==id).Single();
       new TblManagerRoleController().Update(id, name, get_role.RoleNote);
        %>
</body>
</html>
